package com.core.entities;

import java.io.Serializable;

/**
 * 
 * This classes is the Data Transfer Object(Value Object) defination for the
 * entity contact
 * 
 */

public class Contact implements Serializable {
	private int id;
	private String first_name;
	private String second_name;
	private String third_name;
	private String last_name;
	private String address;
	private int city_id;
	private String land_phone;
	private String mobile_number;
	private String email;
	private String website;
	private String job;
	private int work_id;
	private int online_account_id;
	private int username_id;

	public Contact() {
	}

	public Contact(int id, String first_name, String second_name,
			String third_name, String last_name, String address, int city_id,
			String land_phone, String mobile_number, String email,
			String website, String job, int work_id, int online_account_id,
			int username_id) {
		this.id = id;
		this.first_name = first_name;
		this.second_name = second_name;
		this.third_name = third_name;
		this.last_name = last_name;
		this.address = address;
		this.city_id = city_id;
		this.land_phone = land_phone;
		this.mobile_number = mobile_number;
		this.email = email;
		this.website = website;
		this.job = job;
		this.work_id = work_id;
		this.online_account_id = online_account_id;
		this.username_id = username_id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return (id);
	}

	public void setFirst_name(String first_name) {
		this.first_name = first_name;
	}

	public String getFirst_name() {
		return (first_name);
	}

	public void setSecond_name(String second_name) {
		this.second_name = second_name;
	}

	public String getSecond_name() {
		return (second_name);
	}

	public void setThird_name(String third_name) {
		this.third_name = third_name;
	}

	public String getThird_name() {
		return (third_name);
	}

	public void setLast_name(String last_name) {
		this.last_name = last_name;
	}

	public String getLast_name() {
		return (last_name);
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getAddress() {
		return (address);
	}

	public void setCity_id(int city_id) {
		this.city_id = city_id;
		
	}

	public int getCity_id() {
		return city_id;
	}

	public void setLand_phone(String land_phone) {
		this.land_phone = land_phone;
	}

	public String getLand_phone() {
		return (land_phone);
	}

	public void setMobile_number(String mobile_number) {
		this.mobile_number = mobile_number;
	}

	public String getMobile_number() {
		return (mobile_number);
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getEmail() {
		return (email);
	}

	public void setWebsite(String website) {
		this.website = website;
	}

	public String getWebsite() {
		return (website);
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getJob() {
		return (job);
	}

	public void setWork_id(int work_id) {
		this.work_id = work_id;
	}

	public int getWork_id() {
		return (work_id);
	}

	public void setOnline_account_id(int online_account_id) {
		this.online_account_id = online_account_id;
	}

	public int getOnline_account_id() {
		return (online_account_id);
	}

	public void setUsername_id(int username_id) {
		this.username_id = username_id;
	}

	public int getUsername_id() {
		return (username_id);
	}

	public String toString() {
		StringBuffer ret = new StringBuffer();
		ret.append("com.core.entities.Contact :");
		ret.append("id='" + id + "'");
		ret.append(", first_name='" + first_name + "'");
		ret.append(", second_name='" + second_name + "'");
		ret.append(", third_name='" + third_name + "'");
		ret.append(", last_name='" + last_name + "'");
		ret.append(", address='" + address + "'");
		ret.append(", city_id='" + city_id + "'");
		ret.append(", land_phone='" + land_phone + "'");
		ret.append(", mobile_number='" + mobile_number + "'");
		ret.append(", email='" + email + "'");
		ret.append(", website='" + website + "'");
		ret.append(", job_id='" + job + "'");
		ret.append(", work_id='" + work_id + "'");
		ret.append(", online_account_id='" + online_account_id + "'");
		ret.append(", username_id='" + username_id + "'");
		return ret.toString();
	}
}
